/*
 * VS1003.h
 *
 * Created: 2012-06-09 18:37:31
 *  Author: Sebastian_2
 */ 


#ifndef VS1003_H_
#define VS1003_H_

#include "../conf.h"

#define READ		0x3
#define WRITE		0x2
#define MODE_ADDR	0x0
#define MODE_RESET	0x0804 // value of MODE register, causes soft reset

void VS1003_Init();
void VS1003_SoftReset();
void VS1003_PlayFile(uint8_t playlistID, uint8_t songID); // opens a file, fills buffer and sets up DMA

#endif /* VS1003_H_ */